
package com.goseet.ffmpeg;

class ffmpegJNI {
    ffmpegJNI() {
    }

    public static final native void IMedia_init();

    public static final native boolean MediaInput_close(long l, b b);

    public static final native boolean MediaInput_open(long l, b b, String s);

    public static final native boolean MediaInput_trim(long l, b b, long l1, a a, long l2, long l3);

    public static final native boolean MediaOutput_close(long l, a a);

    public static final native boolean MediaOutput_open_for_trimming(long l, a a, String s,
            long l1, b b);

    public static final native long SWIGMediaInputUpcast(long l);

    public static final native long SWIGMediaOutputUpcast(long l);

    public static final native void delete_IMedia(long l);

    public static final native void delete_MediaInput(long l);

    public static final native void delete_MediaOutput(long l);

    public static final native long new_IMedia();

    public static final native long new_MediaInput();

    public static final native long new_MediaOutput();

    static {
        try {
            System.loadLibrary("ffmpeg");
            System.loadLibrary("ffmpeg_wrap");
        } catch (Exception exception) {
            throw new RuntimeException("Can not load library", exception);
        }
    }
}
